 <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
 <%@ taglib prefix="pm" uri="http://heroj.cn/permissionTag"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<head>
<title>TableDefine</title>
 <script src="${cdnAddress}/js/boot.js${cacheVersion}" type="text/javascript"></script>
 <script src="${cdnAddress}/js/util.js${cacheVersion}" type="text/javascript"></script>
 <link href="${cdnAddress}/css/util.css${cacheVersion}" rel="stylesheet" type="text/css" />
</head>
<body>
<input type="hidden" id="projectName" value="${projectName}" />
<form id="TableDefineListForm" method="post">
 	 <input class="mini-hidden" id="ids" name="ids" value=""/> 	 
  <div>
        <div class="mini-toolbar" style="border-bottom:0;padding:0px;">
        <div id="formseach">
            <table style="width:100%;">
          
</td>
           	 </tr>           	 <tr>
           	 <td>分类Id:<input  class="mini-textbox"   id="categoryId" name="categoryId" /></td>
           	 </tr>           	 <tr>
           	 <td>分类名称:<input  class="mini-textbox"   id="categoryName" name="categoryName" /></td>
           	 </tr>           	 <tr>
           	 <td>动态表单名称:<input  class="mini-textbox"   id="tableName" name="tableName" /></td>
           	 </tr>           	 <tr>
           	 <td>动态表单id:<input  class="mini-textbox"   id="dymcformId" name="dymcformId" /></td>
           	 </tr>           	 <tr>
           	 <td>动态表单名称:<input  class="mini-textbox"   id="dymcformName" name="dymcformName" /></td>
           	 </tr>           	 <tr>
           	 <td>状态是否启用:<input  class="mini-textbox"   id="status" name="status" /></td>
           	 </tr>           	 <tr>
           	 <td>:<input  class="mini-textbox"   id="htmlCode" name="htmlCode" /></td>
           	 </tr>           	 <tr>
           	 <td>:<input class="mini-datepicker"  id="createTime" name="createTime" /></td>
           	 </tr>           	 <tr>
           	 <td>:<input  class="mini-textbox"   id="createUser" name="createUser" /></td>
           	 </tr>           	 <tr>
           	 <td>:<input class="mini-datepicker"  id="updateTime" name="updateTime" /></td>
           	 </tr>           	 <tr>
           	 <td>最后更新人:<input  class="mini-textbox"   id="updateUser" name="updateUser" /></td>
           	 </tr> 
			 <tr><td><a class="mini-button" iconCls="icon-search" onclick="seachRow()">查询</a><a class="mini-button" iconCls="icon-undo" onclick="resetForm()">重置</a></td>
          	</table>   
            </div>        
        </div>
    </div>
</form> 
    <div>
     <div class="mini-toolbar" style="border-bottom:0;padding:0px;">
            <table style="width:100%;">
                <tr>
                 	<td style="width:100%;">
                 	 <pm:Permission >
                        <a class="mini-button" id="addTableDefine" iconCls="icon-add" onclick="addTableDefine()">增加</a>
                        <a class="mini-button" id="editTableDefine" iconCls="icon-edit" onclick="editTableDefine()">编辑</a>
                        <a class="mini-button" id="removeTableDefine" iconCls="icon-remove" onclick="removeTableDefine()">删除</a>
                        <a class="mini-button" id="freezeTableDefine" iconCls="icon-lock" onclick="freezeTableDefine()">冻结</a>     
                        <a class="mini-button" id="freeTableDefine" iconCls="icon-unlock" onclick="freeTableDefine()">解冻</a>            
                        <a class="mini-button" id="importTableDefine" iconCls="icon-upload" onclick="importTableDefine()">导入</a>            
                        <a class="mini-button" id="exportTableDefine" iconCls="icon-download" onclick="exportTableDefine()">导出</a>            
                     </pm:Permission>
                    </td>
                     
                </tr>
            </table>           
        </div>
    </div>
   <div class="mini-fit" style="height:100px;">
  <div id="tableDefineGrid" class="mini-datagrid" style="width:100%;height:100%;" onrowdblclick="onrowdblclick" 
        url="${projectName}/TableDefineAdmin/List"  idField="id"   sizeList="[10,20,30,50]" pageSize="30" multiSelect="true" >
        <div property="columns">
            <div type="checkcolumn"></div> 
            <div field="id" 
           >主键</div>
            <div field="categoryId" 
           >分类Id</div>
            <div field="categoryName" 
           >分类名称</div>
            <div field="tableName" 
           >动态表单名称</div>
            <div field="dymcformId" 
           >动态表单id</div>
            <div field="dymcformName" 
           >动态表单名称</div>
            <div field="status" 
           >状态是否启用</div>
            <div field="htmlCode" 
           ></div>
            <div field="createTime" 
           dateFormat="yyyy-MM-dd HH:mm:ss"></div>
            <div field="createUser" 
           ></div>
            <div field="updateTime" 
           dateFormat="yyyy-MM-dd HH:mm:ss"></div>
            <div field="updateUser" 
           >最后更新人</div>
        </div>
    </div> 

    </div>
<script src="${scripts}/tabledefine/tableDefineList.js${cacheVersion}" type="text/javascript"></script>
</body>

</html>